package com.manage;

import java.time.LocalDateTime;

public class AnswerRecord {
    private LocalDateTime dateTime;
    private boolean correct;
    private double score;
    private String question;
    private String answer;

    public AnswerRecord(LocalDateTime dateTime, boolean correct, double score, 
                       String question, String answer) {
        this.dateTime = dateTime;
        this.correct = correct;
        this.score = score;
        this.question = question;
        this.answer = answer;
    }

    // Getters and Setters
    public LocalDateTime getDateTime() {
        return dateTime;
    }

    public boolean isCorrect() {
        return correct;
    }

    public double getScore() {
        return score;
    }

    public String getQuestion() {
        return question;
    }

    public String getAnswer() {
        return answer;
    }
} 